@echo off
set VS150COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\Tools 
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat" x64
set INCLUDE=%INCLUDE%;E:\Windows Kits\10\Include
set LIB=%LIB%;E:\Windows Kits\10\Lib
set OSGEO4W_ROOT=D:\OSGeo4W

call "%OSGEO4W_ROOT%\bin\o4w_env.bat"
call "%OSGEO4W_ROOT%\bin\py3_env.bat"
call "%OSGEO4W_ROOT%\bin\qt5_env.bat"
set O4W_ROOT=%OSGEO4W_ROOT:\=/%
set LIB_DIR=%O4W_ROOT%

path %path%;E:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.24.28314\bin;
path %PATH%;D:\Program Files\CMake\bin;D:\cygwin64\bin

@set GRASS_PREFIX=D:\OSGeo4W\apps\grass\grass78

@set INCLUDE=%INCLUDE%;%OSGEO4W_ROOT%\include
@set LIB=%LIB%;%OSGEO4W_ROOT%\lib;%OSGEO4W_ROOT%\lib
set LIB=%LIB%;%OSGEO4W_ROOT%\apps\Qt5\lib;%OSGEO4W_ROOT%\lib
set INCLUDE=%INCLUDE%;%OSGEO4W_ROOT%\apps\Qt5\include;%OSGEO4W_ROOT%\include
@cmd
